<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script>
function onRequest(request, sender, callback) {
  if(request.action == 'getJSON') {
    $.getJSON(request.url, callback);
  }
}
chrome.extension.onRequest.addListener(onRequest);
</script>

